package com.youhong.teethcare.adapter;

import android.content.Context;
import android.widget.ImageView;

import com.youth.banner.loader.ImageLoader;

import java.nio.file.Path;

/**
 * Created by Administrator on 2018/5/11 0011.
 */

public class MyImageLoad extends ImageLoader {
    @Override
    public void displayImage(Context context, Object path, ImageView imageView) {
        int id = (int) path;
        imageView.setImageDrawable(context.getResources().getDrawable(id));

    }
}
